package com.wanmait.demo.service.impl;

import com.wanmait.demo.mapper.QuestionMapper;
import com.wanmait.demo.mapper.QuestionTypeMapper;
import com.wanmait.demo.pojo.QuestionType;
import com.wanmait.demo.service.QuestionTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("questionTypeService")
public class QuestionTypeServiceImpl implements QuestionTypeService {

    @Resource
    private QuestionTypeMapper questionTypeMapper ;

    @Override
    public List<QuestionType> findAll() {
        return questionTypeMapper.findAll();
    }
}
